package com.jsh.model.po;

import javax.persistence.*;

/**
 * Created by sam on 2017/12/4.
 */
@SuppressWarnings("serial")
public class Test2 implements java.io.Serializable{
    private Long id;
    private String name;
    private Boolean enabled;
    private Unit unitId;
    private String uName;

    public Test2() {
    }

    public Test2(Long id) {
        this.id = id;
    }

    public Test2(Long id, String name, Boolean enabled, Unit unitId, String uName) {
        this.id = id;
        this.name = name;
        this.enabled = enabled;
        this.unitId = unitId;
        this.uName = uName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Unit getUnitId() {
        return unitId;
    }

    public void setUnitId(Unit unitId) {
        this.unitId = unitId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

}
